package com.xja.entity;

import java.util.Date;

/**
 * @author zcy
 * @create 2022-05-05 19:20
 */
public class Register {
    private Integer registerId;
    private Integer userId;
    private Date inTime;
    private Integer roomId;
    private String roomName;
    private Integer registerDay;

    public Register(Integer registerId, Integer userId, Date inTime, Integer roomId, String roomName, Integer registerDay) {
        this.registerId = registerId;
        this.userId = userId;
        this.inTime = inTime;
        this.roomId = roomId;
        this.roomName = roomName;
        this.registerDay = registerDay;
    }

    public Register(Integer userId, Date inTime, Integer roomId, String roomName, Integer registerDay) {
        this.userId = userId;
        this.inTime = inTime;
        this.roomId = roomId;
        this.roomName = roomName;
        this.registerDay = registerDay;
    }

    public Register() {
    }

    public Integer getRegisterId() {
        return registerId;
    }

    public void setRegisterId(Integer registerId) {
        this.registerId = registerId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getInTime() {
        return inTime;
    }

    public void setInTime(Date inTime) {
        this.inTime = inTime;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public Integer getRegisterDay() {
        return registerDay;
    }

    public void setRegisterDay(Integer registerDay) {
        this.registerDay = registerDay;
    }

    @Override
    public String toString() {
        return "Register{" +
                "registerId=" + registerId +
                ", userId=" + userId +
                ", inTime=" + inTime +
                ", roomId=" + roomId +
                ", roomName='" + roomName + '\'' +
                ", registerDay=" + registerDay +
                '}';
    }
}
